{template 'common/header'}
<ul class="nav nav-tabs">
    <li><a href="{php echo $this->createWebUrl('business',array('op' => 'list'))}">用户管理</a></li>
    </li>
    <li class="active"><a href="#">用户信息</a></li>
    </li>
</ul>
<form action="" class="form-horizontal form" method="post" enctype="multipart/form-data" >
        <input type="hidden" name="id" value="{$user['id']}">
        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">用户信息</h3>
          </div>
          <div class="panel-body">
            <div class="form-group">
                <label for="username" class="col-sm-2 control-label">用户名</label>
                <div class="col-xs-3">
                  <input type='text' name='username' id='username' class="form-control" value="{$user['username']}"/>
                </div>
            </div>
            <div class="form-group">
                <label for="commission" class="col-sm-2 control-label">分成</label>
                <div class="col-xs-3">
                  <input type='text' name='commission' id='commission' class="form-control" value="{$user['commission']}"/>
                	<span class="help-block">(请输入0到1之间的数字)</span>
                </div>
            </div>
            <div class="form-group">
                <label for="" class="col-sm-2 control-label"></label>
                <div class="col-sm-10">
                   <button type="submit" class="btn btn-primary span3" name="submit" value="提交">提交</button>
                    <input type="hidden" name="token" value="{$_W['token']}" />
                </div>
            </div>
          </div>
        </div>
    </form>
{template 'common/footer'}